#!/bin/sh

GREP_PROCESS="python3 customer_info_server.py"

##################### restart server #############################
PID_RANK=`ps -ef|grep "$GREP_PROCESS"|grep -v grep|awk '{print $2}'|xargs`
if [  "$PID_RANK" != "" ];then
    echo "-----Force kill current server process"
    kill -9 $PID_RANK
fi

